import Cookies from 'js-cookie'

// 设置Cookie
export function setToken(key, token) {
    Cookies.set(key, token, { expires: 7 })
}
// 获取Cookie
export function getToken(key) {
    return Cookies.get(key)
}
// 清除Cookie
export function removeToken(key) {
    Cookies.remove(key)
}

